# _*_ encoding: utf-8 _*_
# __author__ = 'lx'
import os
new_label = 'perfume'
path = r'C:\Users\xxxx\Desktop\makeup' + '\\' + new_label
print(path)
li = os.listdir(path)
for i in li:
    name = i
    label = '7'
    string = f'./perfume/{name} {label} \n'
    with open(r'C:\Users\xxxx\Desktop\makeup\test_list.txt','a+') as f:
        f.write(string)

